package org.lds.scheduled.job.admin.client.core.model.request;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.lds.scheduled.job.common.model.ScheduledJobModel;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class RegisterJobRequest {
    /**
     * 应用名称
     */
    private String appName;
    private String appInstanceIp;
    private Integer appInstancePort;

    /**
     * 任务列表
     */
    private List<ScheduledJobModel> scheduledJobModels;
}
